home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / bathints.zip / BH_06.DOC < prev    next >
Text File  |  1988-10-20  |  2KB  |  43 lines

  1.                                   BAT-HINT # 6
  2. **************************************************************************
  3. from the BATHINTS library... part of the BATPOWER CONFERENCE from:
  4.  
  5.                          THE PAINFRAME OPUS/FIDO 261/1004
  6.  
  7.                         Baltimore, Maryland 1-301-488-7461
  8.  
  9. **************************************************************************
  10. Command.com Revisited
  11. So now that you have a firm command of command.com (from BATHINT #1)...
  12. here is a tidbit for those fastidious souls who appreciate the cleanliness
  13. of the root directory.  Very few files need be present in the root
  14. directory of your hard disk or floppy boot disk.  Indeed, the only files
  15. there should be config.sys and autoexec.bat (if you choose to even have
  16. an autoexec.bat (some people don't ya know!).  So how does one place
  17. command.com in the directory it was intended to be placed (i.e. the DOS
  18. subdirectory)?    Enter the following line in the config.sys file:
  19.  
  20.         shell=c:\dos\command.com c:\dos
  21.  
  22. The config line shown above assumes that you have a hard disk and that
  23. command.com resides in a subdirectory called DOS.  You could of course
  24. place it anywhere you like, so long as you include the path and follow
  25. the statement with the path again.  For example, if you booted from a
  26. floppy and had placed command.com in a:\util\msdos, you would include the
  27. following line in the config.sys file:
  28.  
  29.                 shell=a:\util\msdos\command.com a:\util\msdos
  30.  
  31. Naturally, you may place any of the parameters mentioned in BATHINT #
  32. after this statement.  For example, if you booted from a hard disk and
  33. your only copy of command.com was in the subdirectory MSDOS and you
  34. wanted to expand your environment space to 2500 bytes, you would change
  35. the line to read:
  36.  
  37.                 shell=c:\msdos\command.com c:\msdos /e:2500
  38.  
  39. One should strive to obtain the most uncluttered root directory possible
  40. and this should help...
  41. ********************************************************** David Creasey        
  42.  
  43.